package com.youle.youleservice.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by Administrator on 2018/8/12.
 *
 * 所有省： 省： http://39.108.162.74/api/device/province/listProvince
 所市，
 所市，parentId是所属省的id,  ,  http://39.108.162.74/api/device/city/listCity
 *
 */
@Entity
public class Province {
    @Id
    private long id;
    private String name;
    private String createTime;



    @Generated(hash = 1689224451)
    public Province(long id, String name, String createTime) {
        this.id = id;
        this.name = name;
        this.createTime = createTime;
    }



    @Generated(hash = 1309009906)
    public Province() {
    }
     


    @Override
    public String toString() {
        return "Province{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", createTime='" + createTime + '\'' +
                '}';
    }



    public long getId() {
        return this.id;
    }



    public void setId(long id) {
        this.id = id;
    }



    public String getName() {
        return this.name;
    }



    public void setName(String name) {
        this.name = name;
    }



    public String getCreateTime() {
        return this.createTime;
    }



    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
